package org.example.bean;

import java.util.List;

/**
 * 流程图步骤类
 */
public class WorkFlowNode {

    private Integer id;

    private Integer workFlowId;

    private String name;

    private Integer type;

    private Integer orderId;

    //接下要执行的步骤，用于连线

    private List<Integer> chlidOrderIds;

    private String conditionExpression;

    private String assignee;

    //0为人工任务，1为服务于任务

    //private Integer taskType;


    public WorkFlowNode(Integer id, Integer workFlowId, String name, Integer type, Integer orderId, List<Integer> chlidOrderIds, String conditionExpression, String assignee) {
        this.id = id;
        this.workFlowId = workFlowId;
        this.name = name;
        this.type = type;
        this.orderId = orderId;
        this.chlidOrderIds = chlidOrderIds;
        this.conditionExpression = conditionExpression;
        this.assignee = assignee;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getWorkFlowId() {
        return workFlowId;
    }

    public void setWorkFlowId(Integer workFlowId) {
        this.workFlowId = workFlowId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public List<Integer> getChlidOrderIds() {
        return chlidOrderIds;
    }

    public void setChlidOrderIds(List<Integer> chlidOrderIds) {
        this.chlidOrderIds = chlidOrderIds;
    }

    public String getConditionExpression() {
        return conditionExpression;
    }

    public void setConditionExpression(String conditionExpression) {
        this.conditionExpression = conditionExpression;
    }

    public String getAssignee() {
        return assignee;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }
}
